package com.practice;

import java.util.Random;

public class demo20 {
    public static void main(String[] args) {
        //随机数
        Random r = new Random();
        for (int i = 0; i < 5; i++) {
            int num = r.nextInt(1, 11) + 10 * i;
            System.out.println(num);
        }
    }
}
